package com.xnyzc.lhy.mis.service.coupon;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.mis.entity.coupon.CouponInfoSearchResult;
import com.xnyzc.lhy.mis.entity.coupon.CouponPublishParam;
import com.xnyzc.lhy.mis.entity.coupon.OaSysCouponInfo;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author haoyfa
 * @since 2019-12-16
 */
public interface IOaSysCouponInfoService extends IService<OaSysCouponInfo> {

    /**
     * 获取优惠券发放记录
     *
     * @return
     */
    List<CouponInfoSearchResult> queryCouponInfoList(String batchId);

    /**
     * 新增优惠券定义
     *
     * @return
     */
    public void createCouponInfo(Long groupId, CouponPublishParam couponPublishParam, String isPublish, Date publishDate);
}
